﻿<%@ Page Language="C#" MasterPageFile="~/Common/Master/PopupDiv.master" AutoEventWireup="true" Inherits="Contact_Outer_Edit" Title="无标题页" Codebehind="Edit.aspx.cs" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <style type="text/css">
        .style1
        {
            width: 80px;text-align: right;
        }
        .style3
        {
        	width:75px; text-align:right;
        }
    
        div table tr td
        {
            height: 25px;
        }
        div table
        {
            margin-top: 7px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:Panel ID="pnlMain" runat="server" Width="100%">
        <table width="100%">
            <tr>
                <td class="style1">
                    <span style="color: Red">*</span>&nbsp;<asp:Literal ID="Literal1" runat="server"
                        Text="姓　　名："></asp:Literal>
                </td>
                <td>
                    <asp:TextBox ID="Name" runat="server" Width="100px" CssClass="txt"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="Name"
                        Display="None" ErrorMessage="请输入姓名" SetFocusOnError="True"></asp:RequiredFieldValidator>
                </td>
                <td class="style3">
                    <asp:Literal ID="Literal8" runat="server" Text="目录分类："></asp:Literal>
                </td>
                <td>
                    <asp:TextBox ID="DirName" runat="server" Width="200px" CssClass="txt"></asp:TextBox>
                    <asp:HiddenField ID="DirID" runat="server" />
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <asp:Literal ID="Literal2" runat="server" Text="手　　机："></asp:Literal>
                </td>
                <td>
                    <asp:TextBox ID="Mobile" runat="server" Width="100px" Height="19px" CssClass="txt"></asp:TextBox>
                </td>
                <td class="style3">
                    <asp:Literal ID="Literal5" runat="server" Text="工作单位："></asp:Literal>
                </td>
                <td>
                    <asp:TextBox ID="CorpName" runat="server" Width="200px" CssClass="txt"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <asp:Literal ID="Literal4" runat="server" Text="QQ："></asp:Literal>
                </td>
                <td>
                    <asp:TextBox ID="QQ" runat="server" Width="100px" CssClass="txt"></asp:TextBox>
                </td>
                <td class="style3">
                    <asp:Literal ID="Literal11" runat="server" Text="MSN："></asp:Literal>
                </td>
                <td>
                    <asp:TextBox ID="MSN" runat="server" Width="200px" CssClass="txt"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <asp:Literal ID="Literal12" runat="server" Text="工作电话："></asp:Literal>
                </td>
                <td>
                    <asp:TextBox ID="WorkPhone" runat="server" Width="100px" CssClass="txt"></asp:TextBox>
                </td>
                <td class="style3">
                    <asp:Literal ID="Literal3" runat="server" Text="电子邮件："></asp:Literal>
                </td>
                <td>
                    <asp:TextBox ID="Email" runat="server" Width="200px" CssClass="txt"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <asp:Literal ID="Literal13" runat="server" Text="工作传真："></asp:Literal>
                </td>
                <td>
                    <asp:TextBox ID="WorkFax" runat="server" Width="100px" CssClass="txt"></asp:TextBox>
                </td>
                <td class="style3">
                    <asp:Literal ID="Literal9" runat="server" Text="职　　务："></asp:Literal>
                </td>
                <td>
                    <asp:TextBox ID="Headship" runat="server" Width="200px" CssClass="txt"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <asp:Literal ID="Literal6" runat="server" Text="工作地址："></asp:Literal>
                </td>
                <td colspan="3">
                    <asp:TextBox ID="WorkAddr" runat="server" Width="350px" CssClass="txt"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <asp:Literal ID="Literal14" runat="server" Text="邮　　编："></asp:Literal>
                </td>
                <td>
                    <asp:TextBox ID="WorkZip" runat="server" Width="100px" CssClass="txt"></asp:TextBox>
                </td>
                <td class="style3">
                    <asp:Literal ID="Literal7" runat="server" Text="单位网站："></asp:Literal>
                </td>
                <td>
                    <asp:TextBox ID="CorpSite" runat="server" Width="200px" CssClass="txt"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <asp:Literal ID="Literal15" runat="server" Text="家庭住址："></asp:Literal>
                </td>
                <td colspan="3">
                    <asp:TextBox ID="HomeAddr" runat="server" Width="350px" CssClass="txt"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <asp:Literal ID="Literal19" runat="server" Text="邮　　编："></asp:Literal>
                </td>
                <td>
                    <asp:TextBox ID="HomeZip" runat="server" Width="100px" CssClass="txt"></asp:TextBox>
                </td>
                <td class="style3">
                    <asp:Literal ID="Literal16" runat="server" Text="家庭电话："></asp:Literal>
                </td>
                <td>
                    <asp:TextBox ID="HomePhone" runat="server" Width="200px" CssClass="txt"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <asp:Literal ID="Literal20" runat="server" Text="备　　注："></asp:Literal>
                </td>
                <td colspan="3">
                    <asp:TextBox ID="Remark" runat="server" Width="300px" CssClass="txt"></asp:TextBox>
                    <asp:CheckBox ID="IsPublic" runat="server" Text="是否公开" />
                    <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True"
                        ShowSummary="False" />
                </td>
            </tr>
        </table>
    </asp:Panel>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="Server">
    <asp:Button ID="btnSave" runat="server" Text="保存" OnClick="btnSave_Click" />
    <asp:Button ID="btnDelete" runat="server" OnClick="btnDelete_Click" Text="删除" />
</asp:Content>
